const Mock = require('mockjs')

module.exports = {
    'get /gxsq'(req, res) {
        res.status(200).json(Mock.mock({
            'data': {
                'gxsq_list|1-5': [{
                    'shop_number|+1': 1,
                    'shop_name': '美宜佳-' + '@cword(2)' + '店',
                    'shop_hangy': '便利店',
                    'address': '@city()',
                    'Telephone': /^1[35678]{10}$/,
                    'PromotersId|100-10000': 0,
                    'Equity_level|1': [0, 1], //0为未购买1为一级权益
                    'xiaoshou_e': '@float(100,1000,2,2)'
                }]
            },
            'message': '获取成功',
            'status': 200
        }))
    }
}